package net.easyjava.test.db.bean;

import net.easyjava.third.db.annotation.Column;
import net.easyjava.third.db.annotation.ID;
import net.easyjava.third.db.annotation.Table;
import net.easyjava.tools.BaseBean;

/**
 * Created by wenxiaoning on 16/6/29.
 */
@Table("CATEGORY")
public class CategoryBean extends BaseBean {
    private static final long serialVersionUID = -3647431255117190446L;
    @ID(autoIncrement = true)
    private long id;
    private long cid;
    private String name;
    private int status;
    @Column("build_time")
    private long buildTime;

    public CategoryBean() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getCid() {
        return cid;
    }

    public void setCid(long cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(long buildTime) {
        this.buildTime = buildTime;
    }
}
